﻿using BCCommon.Enums;
using BCDto.Website.User;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WeChatComponent.WeChatUser
{
    /// <summary>
    /// 微信用户信息
    /// </summary>
    public class WeChatUserInfoDto:UserDto
    {
        /// <summary>
        /// 公众平台Id
        /// </summary>
        public string Unionid { get; set; }
        /// <summary>
        /// 用户OpenId
        /// </summary>
        public string Openid { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Nickname { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public WeChatUserSexType? Sex { get; set; }
        /// <summary>
        /// 语言
        /// </summary>
        public string Language { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 省份
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 国家
        /// </summary>
        public string Country { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string Headimgurl { get; set; }
        /// <summary>
        /// 已订阅公众号
        /// </summary>
        public bool Subscribe { get; set; }
        /// <summary>
        /// 关注时间戳
        /// </summary>
        public int? SubscribeTime { get; set; }
        /// <summary>
        /// 用户备注名
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 分组Id
        /// </summary>
        public int? Groupid { get; set; }
        /// <summary>
        /// 用户标签列表
        /// </summary>
        public string TagidList { get; set; }
        /// <summary>
        /// 用户关注渠道来源
        /// </summary>
        public string SubscribeScene { get; set; }
        /// <summary>
        /// 二维码扫码场景
        /// </summary>
        public int? QrScene { get; set; }
        /// <summary>
        /// 二维码扫码场景描述
        /// </summary>
        public string QrSceneStr { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public new DateTime CreateTime { get; set; }
        /// <summary>
        /// 用户特权信息，json数组，如微信沃卡用户为（chinaunicom）
        /// </summary>
        public List<string> privilege { get; set; }
    }
}
